package com.houweishi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.houweishi.common.annotation.Excel;
import com.houweishi.common.core.domain.BaseEntity;

/**
 * 员工信息对象 t_staff
 * 
 * @author houweishi
 * @date 2022-11-24
 */
public class TStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别（0男 1女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalOutlook;

    /** 婚姻状况（0未婚 1已婚 2离异 3丧偶） */
    @Excel(name = "婚姻状况", readConverterExp = "0=未婚,1=已婚,2=离异,3=丧偶")
    private String marriage;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 专业 */
    @Excel(name = "专业")
    private String specialty;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idCardNumber;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String graduationSchool;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date graduationTime;

    /** 联系手机 */
    @Excel(name = "联系手机")
    private String telephone;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 紧急联系人名称 */
    @Excel(name = "紧急联系人名称")
    private String contactName;

    /** 紧急联系人关系 */
    @Excel(name = "紧急联系人关系")
    private String relationship;

    /** 紧急联系人电话 */
    @Excel(name = "紧急联系人电话")
    private String contactTelphone;

    /** 个人照片 */
    @Excel(name = "个人照片")
    private String personalPhotos;

    /** 学历照片 */
    @Excel(name = "学历照片")
    private String educationalPhotos;

    /** 其他证书照片 */
    @Excel(name = "其他证书照片")
    private String otherCertificatePhotos;

    /** 技能 */
    @Excel(name = "技能")
    private String skill;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 入职职务 */
    @Excel(name = "入职职务")
    private String post;

    /** 试用薪资 */
    @Excel(name = "试用薪资")
    private BigDecimal probationSalary;

    /** 转正薪资 */
    @Excel(name = "转正薪资")
    private BigDecimal fullMemberSalary;

    /** 离职证明照片 */
    @Excel(name = "离职证明照片")
    private String leavingCertificatePhotos;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bank;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 社保（0是 1否） */
    @Excel(name = "社保", readConverterExp = "0=是,1=否")
    private String socialSecurity;

    /** 社保比例(公司) */
    @Excel(name = "社保比例(公司)")
    private Long socialSecurityRatio;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }
    public void setPoliticalOutlook(String politicalOutlook) 
    {
        this.politicalOutlook = politicalOutlook;
    }

    public String getPoliticalOutlook() 
    {
        return politicalOutlook;
    }
    public void setMarriage(String marriage) 
    {
        this.marriage = marriage;
    }

    public String getMarriage() 
    {
        return marriage;
    }
    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }
    public void setSpecialty(String specialty) 
    {
        this.specialty = specialty;
    }

    public String getSpecialty() 
    {
        return specialty;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }
    public void setGraduationSchool(String graduationSchool) 
    {
        this.graduationSchool = graduationSchool;
    }

    public String getGraduationSchool() 
    {
        return graduationSchool;
    }
    public void setGraduationTime(Date graduationTime) 
    {
        this.graduationTime = graduationTime;
    }

    public Date getGraduationTime() 
    {
        return graduationTime;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setRelationship(String relationship) 
    {
        this.relationship = relationship;
    }

    public String getRelationship() 
    {
        return relationship;
    }
    public void setContactTelphone(String contactTelphone) 
    {
        this.contactTelphone = contactTelphone;
    }

    public String getContactTelphone() 
    {
        return contactTelphone;
    }
    public void setPersonalPhotos(String personalPhotos) 
    {
        this.personalPhotos = personalPhotos;
    }

    public String getPersonalPhotos() 
    {
        return personalPhotos;
    }
    public void setEducationalPhotos(String educationalPhotos) 
    {
        this.educationalPhotos = educationalPhotos;
    }

    public String getEducationalPhotos() 
    {
        return educationalPhotos;
    }
    public void setOtherCertificatePhotos(String otherCertificatePhotos) 
    {
        this.otherCertificatePhotos = otherCertificatePhotos;
    }

    public String getOtherCertificatePhotos() 
    {
        return otherCertificatePhotos;
    }
    public void setSkill(String skill) 
    {
        this.skill = skill;
    }

    public String getSkill() 
    {
        return skill;
    }
    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setProbationSalary(BigDecimal probationSalary) 
    {
        this.probationSalary = probationSalary;
    }

    public BigDecimal getProbationSalary() 
    {
        return probationSalary;
    }
    public void setFullMemberSalary(BigDecimal fullMemberSalary) 
    {
        this.fullMemberSalary = fullMemberSalary;
    }

    public BigDecimal getFullMemberSalary() 
    {
        return fullMemberSalary;
    }
    public void setLeavingCertificatePhotos(String leavingCertificatePhotos) 
    {
        this.leavingCertificatePhotos = leavingCertificatePhotos;
    }

    public String getLeavingCertificatePhotos() 
    {
        return leavingCertificatePhotos;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setBank(String bank) 
    {
        this.bank = bank;
    }

    public String getBank() 
    {
        return bank;
    }
    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setSocialSecurity(String socialSecurity) 
    {
        this.socialSecurity = socialSecurity;
    }

    public String getSocialSecurity() 
    {
        return socialSecurity;
    }
    public void setSocialSecurityRatio(Long socialSecurityRatio) 
    {
        this.socialSecurityRatio = socialSecurityRatio;
    }

    public Long getSocialSecurityRatio() 
    {
        return socialSecurityRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("birthday", getBirthday())
            .append("nativePlace", getNativePlace())
            .append("politicalOutlook", getPoliticalOutlook())
            .append("marriage", getMarriage())
            .append("education", getEducation())
            .append("specialty", getSpecialty())
            .append("title", getTitle())
            .append("idCardNumber", getIdCardNumber())
            .append("graduationSchool", getGraduationSchool())
            .append("graduationTime", getGraduationTime())
            .append("telephone", getTelephone())
            .append("address", getAddress())
            .append("contactName", getContactName())
            .append("relationship", getRelationship())
            .append("contactTelphone", getContactTelphone())
            .append("personalPhotos", getPersonalPhotos())
            .append("educationalPhotos", getEducationalPhotos())
            .append("otherCertificatePhotos", getOtherCertificatePhotos())
            .append("skill", getSkill())
            .append("entryTime", getEntryTime())
            .append("post", getPost())
            .append("probationSalary", getProbationSalary())
            .append("fullMemberSalary", getFullMemberSalary())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("leavingCertificatePhotos", getLeavingCertificatePhotos())
            .append("email", getEmail())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("bank", getBank())
            .append("bankCardNumber", getBankCardNumber())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("socialSecurity", getSocialSecurity())
            .append("socialSecurityRatio", getSocialSecurityRatio())
            .toString();
    }
}
